﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZhimeiSoft.Framework.Common.Entity;
using ZhimeiSoft.Framework.Server.Connector.BLL.Interface;
using ZhimeiSoft.Framework.Server.Connector.DAL.Interface;
using ZhimeiSoft.Framework.Server.Connector.Factory;

namespace ZhimeiSoft.Framework.Server.Connector.BLL
{
    public class LoginBLL : ILoginBLL
    {
        ILoginDal loginDal;
        public LoginBLL()
        {
            loginDal = DalFactory.CreateLoginDal();
        }


        #region ILoginBLL Members

        public bool Login(ref LoginEntity loginEntity, out int error)
        {
            return loginDal.Login(ref loginEntity, out error);
        }

        #endregion
    }
}
